package zigzag.designpattern.factorymethod;

/*
 * ZigzagSoft.net
 * Copyright 2006-2008 Jerry Chan
 * Email : jerry.chan.cn@gmail.com
 *
 * These sources may be copied, modified and distributed only for
 * projects undertaken by Jerry Chan, or with the agreement by the author.
 * Any enhancement/changes/suggestion to the source is welcome and is to
 * keep the author informed.
*/

public abstract class Application {
    protected Document doc;

    public abstract void createDocument();

    public abstract void cleanDump();
    
    public void createObjects() {
        //...
        createDocument();
    }
}
